package com.fh.controller;


import com.fh.service.IndexImgService;
import com.fh.vo.ResultVo;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/indexImg")
@CrossOrigin
public class IndexImg {

@Resource
private IndexImgService indexImgService;


     @GetMapping("query")
     public ResultVo query(){
         return  indexImgService.query();
     }




}
